package com.rankeiot.developer.modules;

import com.rankeiot.developer.domain.TableMeta;
import com.rankeiot.developer.service.TableServices;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import org.ssssssss.magicapi.core.annotation.MagicModule;

@Component
@MagicModule("tableMeta")
@RequiredArgsConstructor
public class TableMetaModule {
    private final TableServices tableServices;
    public TableServices.TableModel get(String id){
        return tableServices.detail(id);
    }
    public void save(String id){

    }

    /**
     * 获取分页数据
     */
    public void page(){

    }
}
